import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty } from 'class-validator';
import { ArticleDto } from './article.dto';

export class UpdateArticleDto extends ArticleDto {
  @ApiProperty({ required: true, description: 'id' })
  @IsNotEmpty()
  id: string;
}
